/**
 * 此处可直接引用自己项目封装好的 axios 配合后端联调
 */

import request from "./../utils/axios"; //组件内部封装的axios
// import request from "@/service/axios.ts"; //调用项目封装的axios

//获取验证图片  以及token

export function reqLock(data) {
    return request({
        url: "/usersys-app/captcha/sass/lock",
        method: "get",
    });
}

export function reqGet(data) {
    return request({
        url: "/usersys-app/captcha/sass/get",
        method: "post",
        data,
    });
}

//滑动或者点选验证
export function reqCheck(data) {
    return request({
        url: "/usersys-app/captcha/sass/check",
        method: "post",
        data,
    });
}
